import { createRoot } from "react-dom/client";
function FunctionComponent() {
  return (
    <h1>
      hello<span style={{ color: "red" }}>world</span>
    </h1>
  );
}
let element = <FunctionComponent />;
const root = createRoot(document.getElementById("root"));
console.log(root);
root.render(element);
